package com.VitalFit.model.dto;


import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class RegisterCustomerDTO {
    @NotBlank(message = "Username must not be empty")
    @Size(min = 4, max = 10, message = "Username must be between 4 and 10 characters")
    private String name;
    @Email(message = "Invalid email format")
    private String email;
    @NotBlank(message = "Password must not be empty")
    @Size(min = 6, message = "Password must be at least 6 characters")
    private String password;
}

